package com.hopu.blb_erp.entity;



import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;



/**
 * <p>
 * 
 * </p>
 *
 * @author A-Zhang
 * @since 2021-11-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_department")
@ApiModel(value = "Department对象", description = "")
public class Department implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private long id;
    private long pid;
    private long cId;
    private String dName;
    private long dNo;

    private String dManager;

    private String dPhone;

    private String dTel;

    private String dEmail;

    private String dIntro;

    @TableField(exist = false)
    private List<com.hopu.blb_erp.entity.Department> departments;
}
